package com.ym.user.feignRpc.fallback;

import com.ym.goods.entity.GoodsClassEntity;
import com.ym.user.feignRpc.goodsRpc.GoodsServerRPC;
import com.ym.utils.exception.CustomException;
import org.springframework.stereotype.Service;

@Service
public class GoodsServerFallBack implements GoodsServerRPC {
     /**
      * @Title getInfor
      * @Description //TODO
      * @Params []
      * @Return java.lang.String
      * @Author 晨曦
      * @Date 2020/10/17 22:26
      * @throws CustomException
      */
    @Override
    public String getInfor() throws CustomException {
        return "服务异常";
    }

    @Override
    public Object addInfor(GoodsClassEntity goodsClassEntity) throws CustomException {
        return null;
    }
}
